#include "ToolButtonIconArrow.hpp"
using namespace ribbonStyleControls::Controls;
ToolButtonIconArrow::ToolButtonIconArrow(QString iconPath, QWidget* parent)
	:ToolButtonLeftRight("",iconPath,parent){}

QRect ToolButtonIconArrow::textRect()
{
	return QRect();
}

QRect ToolButtonIconArrow::iconRect()
{	
	auto trc=ToolButtonLeftRight::rectup();
	int x = trc.x() + 2;
	int y = trc.y() + 2;
	int w = m_iconw;
	int h = m_iconw;
	return QRect(x, y, w, h);
}

